<--Back Next-->

Your goal is to configure the Java VM to include one additional parameter:
  • -javaagent:/AOP/aspectj/lib/aspectjweaver.jar

In Eclipse:
  1. Pull down Windows
  2. Select Preferences
  3. Select Java
  4. Select Installed JREs
  5. Double-click on Java 1.5.x JDK (you'll see the below image)
  6. In Default VM Arguments: enter the value: -javaagent:/AOP/aspectj/lib/aspectjweaver.jar
  7. Adjust the directory to where your version of AspectJ is installed
(Note, this image actually shows the configuration for JBoss AOP. It's the same procedure, just a different value in the Default VM Arguments:

  • JBossAOPJREConfiguration.jpg

<--Back Next-->